package com.bishe.dao;

import com.bishe.entity.Project;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//通过mapper查询数据库
@Mapper
public interface ProjectDao {
    //添加项目信息
    public void insert(Project project);

    //分页查询
    public List<Project> SelectByPage(@Param("start") int start, @Param("limit") int limit);

    //查询总条数
    public Long selectCount();
}